package com.sdry.mapper.cb;

import com.sdry.model.lz.Materiel;
import com.sdry.model.zc.ZcInventoryInfoEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StockMapper {
    List<ZcInventoryInfoEntity> getStockList(@Param("customerId") Long customerId, @Param("maNum") String maNum);

    List<Materiel> getTiaoMaList(@Param("page") Integer page, @Param("pageSize") Integer pageSize, @Param("mid") String mid);

    Integer getTiaoMaTotal(@Param("mid") String mid);

    //Integer insert(@Param("mid") Long mid, @Param("sum") Integer sum);

    @Select("select * from lz_materiel where  warehouse_id = 14")
    List<Materiel> selectMateriel();

    void insert(Materiel ma);


    Integer save01(String str);


    void save02(String str);
}
